package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "peachBlossom")
public class PeachBlossom implements Serializable {

	//主键id
	private ObjectId id;
	//自增id(用于大数据推荐)
	private Long sid;
	//用户id
	private Long userId;
	//音频存储路径
	private String soundUrl;
	//创建时间
	private Long created;

}
